
public class UserValidator {

	public boolean validate(User user) {
		boolean matches = user.getName().matches("[a-zA-Z]*");
		return matches;
	}

}
